<div id="lev" class="open">
<div class="lev1">
<p>{$amessages.welcome}, <strong>{if $authUser}{$authUser->getUserName()}{else}Guest{/if}</strong>!</p>
<ul id="menu">
<li class="level1{if $op eq 'manage'} open{/if}"><a href="javascript:void(0);" title="{$amessages.manage}">{$amessages.manage}</a>
<ul>
<li class="level2{if $part eq 'staticPage'} open{/if}"><a href="javascript:void(0);" title="{$amessages.static_page}" class="submenu">{$amessages.static_page}</a>
<ul>
<li><a{if $part eq 'staticPage' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=staticPage&amp;act=add" title="{$amessages.add_static_page}">{$amessages.add_static_page}</a></li>
<li><a{if $part eq 'staticPage' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=staticPage&amp;act=list" title="{$amessages.list_static_page}">{$amessages.list_static_page}</a></li>
</ul>
</li>
<!--menu-->
<!--<li class="level2"><a href="javascript:void(0);" title="{$amessages.menu}" class="submenu">{$amessages.menu}</a>
<ul>
<li><a{if $part eq 'menu' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=menu&amp;act=addGroup" title="{$amessages.add_group_menu}">{$amessages.add_group_menu}</a></li>
<li><a{if $part eq 'menu' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=menu&amp;act=listGroup" title="{$amessages.list_group_menu}">{$amessages.list_group_menu}</a></li>
<li><a{if $part eq 'menu' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=menu&amp;act=add" title="{$amessages.add_menu}">{$amessages.add_menu}</a></li>
<li><a{if $part eq 'menu' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=menu&amp;act=list" title="{$amessages.list_menu}">{$amessages.list_menu}</a></li>
<li><a href="{$script}?op=manage&amp;part=menu&amp;act=list&amp;plus=cleanTrash" title="{$amessages.clean_trash}">{$amessages.clean_trash}</a></li>
</ul>
</li>-->
<!--end menu-->
<!-- quản ly banner-->

<li class="level2{if $part eq 'entry'} open{/if}"><a href="javascript:void(0);" title="{$amessages.entry}" class="submenu"><!--{$amessages.entry} --> Tin tức sự kiện</a>
<ul>
<!--<li><a{if $part eq 'entry' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=category&amp;act=add" title="{$amessages.add_category}">{$amessages.add_category}</a></li>
<li><a{if $part eq 'entry' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=category&amp;act=list" title="{$amessages.list_category}">{$amessages.list_category}</a></li>-->
<li><a{if $part eq 'entry' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=entry&amp;act=add" title="{$amessages.add_entry}"><!--{$amessages.add_entry}--> Thêm tin tức sự kiện</a></li>
<li><a{if $part eq 'entry' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=entry&amp;act=list" title="{$amessages.list_entry}"><!--{$amessages.list_entry}-->Danh sách tin tức sự kiện</a></li>
</ul>
</li>
<!--productcategory-->
<li class="level2{if $part eq 'productcategory'} open{/if}"><a href="javascript:void(0);" title="{$amessages.productcategory}" class="submenu">{$amessages.productcategory}</a>
    <ul>
      <li><a{if $part eq 'productcategory' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=productcategory&amp;act=add" title="{$amessages.add_productcategory}">{$amessages.add_productcategory}</a></li>
      <li><a{if $part eq 'productcategory' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=productcategory&amp;act=list" title="{$amessages.list_productcategory}">{$amessages.list_productcategory}</a></li>
      </ul>
</li>
<!--end productcategory-->
<li class="level2{if $part eq 'product'} open{/if}"><a href="javascript:void(0);" title="{$amessages.product}" class="submenu">{$amessages.product}</a>
    <ul>
      <li><a{if $part eq 'product' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=product&amp;act=add" title="{$amessages.add_product}">{$amessages.add_product}</a></li>
      <li><a{if $part eq 'product' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=product&amp;act=list" title="{$amessages.list_product}">{$amessages.list_product}</a></li>
	  <!--<li><a{if $part eq 'product' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=product&amp;act=list&searchHome=1" title="{$amessages.list_product}">Danh sách sản phẩm trang chủ</a></li>-->
      </ul>
</li>
<!--end product-->


<!--<li class="level2{if $part eq 'imgproduct' } open{/if}"><a href="javascript:void(0);" title="{$amessages.khuyenmai}" class="submenu">Tin khuyến mãi</a>
    <ul>
      <li><a{if $part eq 'imgproduct' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=imgproduct&amp;act=add" title="{$amessages.add_khuyenmai}">Thêm tin khuyến mãi</a></li>
      <li><a{if $part eq 'imgproduct' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=imgproduct&amp;act=list" title="{$amessages.list_khuyenmai}">Danh sách tin khuyến mãi</a></li>
      
      </ul>
</li>-->
<!--end khuyenmai-->
<!-------------ORDER------------->
<li class="level2{if $part eq 'order'} open{/if}"><a href="javascript:void(0);" title="{$amessages.order}" class="submenu">Quản lý đặt hàng</a>
    <ul>
      <li><a{if $part eq 'order' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=order&amp;act=list" title="Danh sách đặt hàng">Danh sách đặt hàng</a></li>
      </ul>
</li>
<!-------------ORDER------------->
<!--gallery-->
<li class="level2{if $part eq 'gallery'} open{/if}"><a href="javascript:void(0);" title="{$amessages.gallery}" class="submenu">Download</a>
<ul>
<li><a{if $part eq 'gallery' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=gallery&amp;act=add" title="{$amessages.add_album}">{$amessages.add_album}</a></li>
<li><a{if $part eq 'gallery' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=gallery&amp;act=list" title="{$amessages.list_album}">{$amessages.list_album}</a></a></li>
<li><a{if $part eq 'gallery' && $act eq 'upload'} class="current3"{/if} href="{$script}?op=manage&amp;part=gallery&amp;act=upload" title="Thêm file download">Thêm file download</a></li>
<li><a{if $part eq 'resource' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=resource&amp;act=list" title="Danh sách file download">Danh sách file download</a></li>

</ul>
</li>
<!------------------gallery---------------------->

<!--<li class="level2{if $part eq 'questions'} open{/if}"><a href="javascript:void(0);" title="{$amessages.questions}" class="submenu">{$amessages.questions}</a>
    <ul>
	  <li><a{if $part eq 'subject' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=subject&amp;act=add" title="{$amessages.add_subject}">{$amessages.add_subject}</a></li>
      <li><a{if $part eq 'subject' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=subject&amp;act=list" title="{$amessages.list_subject}">{$amessages.list_subject}</a></li>
      <li><a{if $part eq 'questions' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=questions&amp;act=add" title="{$amessages.add_questions}">{$amessages.add_questions}</a></li>
      <li><a{if $part eq 'questions' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=questions&amp;act=list" title="{$amessages.list_questions}">{$amessages.list_questions}</a></li>
     
      </ul>
</li>-->


<li class="level2{if $part eq 'ads'} open{/if}"><a href="javascript:void(0);" title="{$amessages.ads}" class="submenu">Banner/Quảng cáo</a>
<ul>
<!--<li><a{if $part eq 'ads' && $act eq 'addGroup'} class="current3"{/if} href="{$script}?op=manage&amp;part=ads&amp;act=addGroup" title="{$amessages.add_ads_group}">{$amessages.add_ads_group}</a></li>
<li><a{if $part eq 'ads' && $act eq 'listGroup'} class="current3"{/if} href="{$script}?op=manage&amp;part=ads&amp;act=listGroup" title="{$amessages.list_ads_group}">{$amessages.list_ads_group}</a></li>-->

<li><a{if $part eq 'ads' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=ads&amp;act=add" title="{$amessages.add_ads}">Thêm Banner/Quảng cáo</a></li>
<li><a{if $part eq 'ads' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=ads&amp;act=list" title="{$amessages.list_ads}">Danh sách Banner/Quảng cáo</a></li>
</ul>
</li>
<li class="level2{if $part eq 'ads' && $gid eq '15' } open{/if}"><a href="javascript:void(0);" title="{$amessages.ads}" class="submenu">Quản lý bảng giá</a>
<ul>
<li><a {if $part eq 'ads' && $act eq 'add' && $gid eq '15'} class="current3"{/if} href="{$script}?op=manage&amp;part=ads&amp;act=list&gId=15" title="Quản lý Popup">Thêm bảng giá</a></li>
<li><a {if $part eq 'ads' && $act eq 'list' && $gid eq '15'} class="current3"{/if} href="{$script}?op=manage&amp;part=ads&amp;act=list&gId=15" title="Quản lý Backgroud">Danh sách bảng giá</a></li>
</ul>
</li>
<!--<li class="level2{if $part eq 'member'} open{/if}"><a href="javascript:void(0);" title="{$amessages.member}" class="submenu">{$amessages.member}</a>
    <ul>
      <li><a{if $part eq 'member' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=member&amp;act=add" title="{$amessages.add_member}">{$amessages.add_member}</a></li>
      <li><a{if $part eq 'member' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=member&amp;act=list" title="{$amessages.list_member}">{$amessages.list_member}</a></li>
      </ul>
</li>
-->
<!--
<li class="level2{if $part eq 'banner'} open{/if}"><a href="javascript:void(0);" title="Quản lý Banner" class="submenu">Tuyển dụng</a>
<ul>
<li><a{if $part eq 'textbanner' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=textbanner&amp;act=add" title="Thêm vị trí tuyển dụng">Thêm vị trí tuyển dụng</a></li>
<li><a{if $part eq 'textbanner' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=textbanner&amp;act=list" title="Danh sách vị trí tuyển dụng ">Danh sách vị trí tuyển dụng</a></li>
</ul>
</li>
-->

<!--khach hang-->
<!--<li class="level2{if $part eq 'banner'} open{/if}"><a href="javascript:void(0);" title="Bảng báo giá" class="submenu">Khách hàng</a>
<ul>
<li><a{if $part eq 'imgbanner' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=imgbanner&amp;act=add" title="Thêm khách hàng ">Thêm khách hàng</a></li>
<li><a{if $part eq 'imgbanner' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=imgbanner&amp;act=list" title="Danh sách khách hàng">Danh sách khách hàng</a></li>
</ul>
</li>-->
<!--album product-->
<!--<li class="level2{if $part eq 'albumproduct'} open{/if}"><a href="javascript:void(0);" title="{$amessages.productcategory}" class="submenu">{$amessages.albumproduct}</a>
    <ul>
      <li><a{if $part eq 'albumproduct' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=albumproduct&amp;act=add" title="{$amessages.add_albumproduct}">{$amessages.add_albumproduct}</a></li>
      <li><a{if $part eq 'albumproduct' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=albumproduct&amp;act=list" title="{$amessages.list_albumproduct}">{$amessages.list_albumproduct}</a></li>
      <li><a href="{$script}?op=manage&amp;part=albumproduct&amp;act=list&amp;plus=cleanTrash" title="{$amessages.clean_trash}">{$amessages.clean_trash}</a></li>
      </ul>
</li>-->
<!--end album product-->
<!--images product-->
<!--<li class="level2{if $part eq 'imgproduct'} open{/if}"><a href="javascript:void(0);" title="{$amessages.imgproduct}" class="submenu">{$amessages.imgproduct}</a>
    <ul>
      <li><a{if $part eq 'imgproduct' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=imgproduct&amp;act=add" title="{$amessages.add_imgproduct}">{$amessages.add_imgproduct}</a></li>
      <li><a{if $part eq 'imgproduct' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=imgproduct&amp;act=list" title="{$amessages.list_imgproduct}">{$amessages.list_imgproduct}</a></li>
      </ul>
</li>-->
<!--end album product-->

<li class="level2{if $part eq 'support'} open{/if}"><a href="javascript:void(0);" title="{$amessages.support}" class="submenu">{$amessages.support}</a>
    <ul><!--<li><a{if $part eq 'group_support' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=group_support&amp;act=add" title="{$amessages.add_group_support}">{$amessages.add_group_support}</a></li>
      <li><a{if $part eq 'group_support' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=group_support&amp;act=list" title="{$amessages.list_group_support}">{$amessages.list_group_support}</a></li>-->
      <li><a{if $part eq 'support' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=support&amp;act=add" title="{$amessages.add_support}">{$amessages.add_support}</a></li>
      <li><a{if $part eq 'support' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=support&amp;act=list" title="{$amessages.list_support}">{$amessages.list_support}</a></li>
      </ul>
</li>

<!-- END SUPPORT -->
<!--<li class="level2{if $part eq 'weblinks'} open{/if}"><a href="javascript:void(0);" title="{$amessages.weblinks}" class="submenu">{$amessages.weblinks}</a>
    <ul>
      <li><a{if $part eq 'weblinks' && $act eq 'add'} class="current3"{/if} href="{$script}?op=manage&amp;part=weblinks&amp;act=add" title="{$amessages.add_weblinks}">{$amessages.add_weblinks}</a></li>
      <li><a{if $part eq 'weblinks' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=weblinks&amp;act=list" title="{$amessages.list_weblinks}">{$amessages.list_weblinks}</a></li>

      </ul>
</li>-->
 <!--quan ly email-->
<!--<li class="level2{if $part eq 'customers'} open{/if}"><a href="javascript:void(0);" title="{$amessages.customers}" class="submenu">Quản lý email</a>
<ul>
<li><a{if $part eq 'email' && $act eq 'send'} class="current3"{/if} href="{$script}?op=manage&amp;part=email&amp;act=send" title="{$amessages.send_email}">{$amessages.send_email}</a></a></li>
<li><a{if $part eq 'customer' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=customer&amp;act=list" title="Danh sách email">Danh sách email</a></li>
<li><a{if $part eq 'mail' && $act eq 'list'} class="current3"{/if} href="{$script}?op=manage&amp;part=mail&amp;act=list" title="Email templates">Email templates</a></li>

</ul>
</li>-->
<!--end quan ly email-->
</ul>
</li>

<li class="level1"><a href="javascript:void(0);" title="{$amessages.system}">{$amessages.system}</a>
<ul>
<li class="level2{if $part eq 'password'} open{/if}"><a href="{$script}?op=system&amp;part=password&amp;act=change" title="{$amessages.change_password}">{$amessages.change_password}</a></li>
</ul>


</li>
{if $authUser->isFounder()}
<li class="level1{if $op eq 'admin'} open{/if}"><a href="javascript:void(0);" title="{$amessages.administration}">{$amessages.administration}</a>
<ul>
<li class="level2"><a href="{$script}?op=admin&amp;part=user&amp;act=list" title="{$amessages.list_user}">{$amessages.list_user}</a></li>


<li class="level2"><a href="{$script}?op=admin&amp;part=generalConfig&amp;act=update" title="{$amessages.general_config}">{$amessages.general_config}</a></li>
</ul>
</li>
{/if}
<li class="level1"><a href="{$script}?op=logout" title="{$amessages.logout}">{$amessages.logout}</a></li>
</ul>
</div>
<div class="levBtn">
<p><a href="#"><img src="templates/{$usertemplate}/images/btn_arrow_01.gif" alt="" width="18" height="19" /></a></p>
</div>
</div>